/**
 * Created by wangjz on 2018/11/23.
 */
import React, { Component } from 'react';
import Root from './component/Root';
import { Provider } from 'mobx-react';
import AppStore from './store/AppStore';
import { ConfigProvider } from 'antd';
import zhCN from 'antd/es/locale/zh_CN';

const store = new AppStore();

export default class Login extends Component {
  render() {
    return (
      <ConfigProvider locale={zhCN}>
        <Provider store={store}>
          <Root/>
        </Provider>
      </ConfigProvider>
    );
  }
}
